package zhihuilan.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("my_punishment")
public class MyPunishment {
    @TableId("id")
    private Integer id;
    private Integer staffid;
    private Integer userid;
    private Integer type;
    private Long createTime;
    private String createUser;
    private Long updateTime;
    private String updateUser;
    private Integer status;
    private Integer endTime;

    public MyPunishment setId(Integer id) {
        this.id = id;
        return this;
    }

    public MyPunishment setStaffid(Integer staffid) {
        this.staffid = staffid;
        return this;
    }

    public MyPunishment setUserid(Integer userid) {
        this.userid = userid;
        return this;
    }

    public MyPunishment setType(Integer type) {
        this.type = type;
        return this;
    }

    public MyPunishment setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public MyPunishment setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public MyPunishment setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public MyPunishment setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    public MyPunishment setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public MyPunishment setEndTime(Integer endTime) {
        this.endTime = endTime;
        return this;
    }
}
